import request from '@/utils/request'

// 查询全站推指标数据列表
export function listWholeStationIndicators(query) {
  return request({
    url: '/business/wholeStationIndicators/list',
    method: 'get',
    params: query
  })
}

// 查询全站推指标数据详细
export function getWholeStationIndicators(id) {
  return request({
    url: '/business/wholeStationIndicators/' + id,
    method: 'get'
  })
}

// 新增全站推指标数据
export function addWholeStationIndicators(data) {
  return request({
    url: '/business/wholeStationIndicators',
    method: 'post',
    data: data
  })
}

// 修改全站推指标数据
export function updateWholeStationIndicators(data) {
  return request({
    url: '/business/wholeStationIndicators',
    method: 'put',
    data: data
  })
}

// 删除全站推指标数据
export function delWholeStationIndicators(id) {
  return request({
    url: '/business/wholeStationIndicators/' + id,
    method: 'delete'
  })
}

// 导出文件
export function exportExcel(data){
  return request({
    url: '/business/wholeStationIndicators/export',
    method: 'post',
    data: data
  })
}
